<template>
  <div>
    <a @click="btn1" href="http://www.baidu.com">去百度</a>
    <a @click="btn2(10, $event)" href="http://www.baidu.com">我也去呀</a>
  </div>
</template>

<script>
export default {
  methods: {
    btn1(e) {
      e.preventDefault();
    },
    btn2(mull, e) {
      e.preventDefault();
    },
  },
};
</script>

<style>
</style>